package com.heima.news.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;


import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_news")
public class News extends BaseEntity {
    @TableId(value = "news_id" , type = IdType.AUTO)
    private Integer newsId;
    private String title;
    private Integer typeId;
    private String content;
    private Integer delayTime;
    private String source;
//    private String createBy;
//    private LocalDateTime createTime;
//    private String updateBy;
//    private LocalDateTime updateTime;
    private String status;
    private String remark;
    private Long noticeId;
}
